package org.wuxinshui.boosters.designPatterns.strategy.demo4;

public class CheckResult {

    public static final CheckResult SUCCESS = new CheckResult(Boolean.TRUE, null);
    /**
     * 是否通过
     */
    private Boolean isSuccess;
    /**
     * 未通过消息
     */
    private String message;

    public CheckResult(Boolean isSuccess, String message) {
        this.isSuccess = isSuccess;
        this.message = message;
    }

    public CheckResult() {}

}
